package com.xmg.p2p.base.query;

import org.springframework.util.StringUtils;

/**
 * Created by  zsl on  Date: 2017-11-02
 */


public class SystemDictionaryQueryObject extends QueryObject {

    private String keyword;
    private Long parentId;

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getKeyword() {
        return StringUtils.hasLength(keyword) ? keyword : null;
    }


}
